package com.hm.day1211.xml;

import java.text.DateFormat;
import java.util.Date;

import org.springframework.beans.factory.annotation.Autowired;

public class Cat {

	private String type;
	private double price;
	
	private Date birth;
	
	@Autowired
	private DateFormat dFomat;

	public Cat() {
	}

	public Cat(String type, double price) {
		this.type = type;
		this.price = price;
		
	}

	@Override
	public String toString() {
		return "Cat [type=" + type + ", price=" + price + "]";
	}

}
